import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userInfo: {} // 声明成员记录数据
  },
  mutations: {
    update(state,newValue) { 
      state.userInfo = newValue;
    }
  },
  actions: {
  },
  modules: {
  }
})
